Integrand size = 30, antiderivative size = 93 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\frac {2 c^2 \cos (e+f x) \log (1+\sin (e+f x))}{f \sqrt {3+3 \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {3+3 \sin (e+f x)}} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2819, 2816, 2746, 31} \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\frac {2 c^2 \cos (e+f x) \log (\sin (e+f x)+1)}{f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a \sin (e+f x)+a}} \]
[In]
[Out]
Rule 31
Rule 2746
Rule 2816
Rule 2819
Rubi steps \begin{align*} \text {integral}& = \frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a+a \sin (e+f x)}}+(2 c) \int \frac {\sqrt {c-c \sin (e+f x)}}{\sqrt {a+a \sin (e+f x)}} \, dx \\ & = \frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a+a \sin (e+f x)}}+\frac {\left (2 a c^2 \cos (e+f x)\right ) \int \frac {\cos (e+f x)}{a+a \sin (e+f x)} \, dx}{\sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \\ & = \frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a+a \sin (e+f x)}}+\frac {\left (2 c^2 \cos (e+f x)\right ) \text {Subst}\left (\int \frac {1}{a+x} \, dx,x,a \sin (e+f x)\right )}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \\ & = \frac {2 c^2 \cos (e+f x) \log (1+\sin (e+f x))}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}}+\frac {c \cos (e+f x) \sqrt {c-c \sin (e+f x)}}{f \sqrt {a+a \sin (e+f x)}} \\ \end{align*}
Time = 1.68 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.31 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\frac {c \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x)) \left (-4 \log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )+\sin (e+f x)\right ) \sqrt {c-c \sin (e+f x)}}{\sqrt {3} f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 \sqrt {1+\sin (e+f x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(206\) vs. \(2(85)=170\).
Time = 3.38 (sec) , antiderivative size = 207, normalized size of antiderivative = 2.23
method | result | size |
default | \(\frac {\left (\cos ^{2}\left (f x +e \right )-\sin \left (f x +e \right ) \cos \left (f x +e \right )+4 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right ) \cos \left (f x +e \right )-2 \cos \left (f x +e \right ) \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )+4 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right ) \sin \left (f x +e \right )-2 \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right ) \sin \left (f x +e \right )-\sin \left (f x +e \right )+4 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1\right )-2 \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-1\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, c}{f \left (1+\cos \left (f x +e \right )-\sin \left (f x +e \right )\right ) \sqrt {a \left (\sin \left (f x +e \right )+1\right )}}\) | \(207\) |
[In]
[Out]
\[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\int { \frac {{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}}}{\sqrt {a \sin \left (f x + e\right ) + a}} \,d x } \]
[In]
[Out]
\[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\int \frac {\left (- c \left (\sin {\left (e + f x \right )} - 1\right )\right )^{\frac {3}{2}}}{\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\int { \frac {{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}}}{\sqrt {a \sin \left (f x + e\right ) + a}} \,d x } \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 96, normalized size of antiderivative = 1.03 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=-\frac {2 \, \sqrt {a} c^{\frac {3}{2}} {\left (\frac {\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}}{a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} + \frac {\log \left (-\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 1\right )}{a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}\right )} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{f} \]
[In]
[Out]
Timed out. \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\int \frac {{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{3/2}}{\sqrt {a+a\,\sin \left (e+f\,x\right )}} \,d x \]
[In]
[Out]